@import '../_variables.scss';
.toast {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: $zIndex-toast-lv1; // display: none;
    &:after {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0);
        z-index: $zIndex-toast-base;
    }
    .toast-wrap {
        position: absolute;
        left: 0;
        top: 0;
        z-index: $zIndex-toast-lv2;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        .toast-content {
            padding: 5px 15px;
            margin-bottom: 20%;
            font-size: 18px;
            color: #fff;
            background: rgba(10, 8, 8, 0.75);
            border-radius: 5px;
        }
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease;
}

@keyframes slideInUp {
    0% {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
        opacity: 0;
    }
    50% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.slideInUp {
    animation-name: slideInUp;
}